#ifndef __MEMBERFUNCPOINTER_H__
#define __MEMBERFUNCPOINTER_H__
/////////////////
//include
/////////////////

/////////////////
//const
/////////////////

/////////////////
//class
/////////////////
template<class MEMBER_CLASS>
class MemberFuncPointer
{
public:
	MemberFuncPointer()
	{

	}
	~MemberFuncPointer()
	{

	}
	void Use(MEMBER_CLASS* member)
	{
		(member->*func)();
	}
	MemberFuncPointer<MEMBER_CLASS>& operator =(void (MEMBER_CLASS::*func)())
	{
		this->func = func;
		return *this;
	}
private:
	void (MEMBER_CLASS::*func)();
};
#endif __MEMBERFUNCPOINTER_H__
